﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CustInfo.aspx.cs" Inherits="Module_CustManger_CustInfo"  ValidateRequest="false"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel1" />
    <ext:Panel ID="Panel1" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
        ShowBorder="false" ShowHeader="false" Title="Panel" Layout="Fit">
        <Toolbars>
            <ext:Toolbar runat="server">
                <Items>
                    <ext:Button ID="BtnCancel" runat="server" Text="关闭">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Items>
            <ext:TabStrip ID="TabStrip1" runat="server" ActiveTabIndex="0" ShowBorder="false">
                <Tabs>
                    <ext:Tab ID="Tab1" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
                        Title="客户详细信息" Layout="Fit">
                        <Items>
                            <ext:Form ID="Form2" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                                ShowBorder="false" ShowHeader="false" Title="Form">
                                <Rows>
                                    <ext:FormRow ID="FormRow1" runat="server">
                                        <Items>
                                            <ext:TextBox ID="CustName" runat="server" Label="客户名称" Text="" Readonly="true">
                                            </ext:TextBox>
                                            <ext:TextBox ID="TelPhone" runat="server" Label="客户联系电话" Text=""  Readonly="true">
                                            </ext:TextBox>
                                        </Items>
                                    </ext:FormRow>
                                    <ext:FormRow ID="FormRow2" runat="server">
                                        <Items>
                                            <ext:TextBox ID="CustAddress" runat="server" Label="客户地址" Text=""  Readonly="true">
                                            </ext:TextBox>
                                            <ext:TextBox ID="Industry" runat="server" Label="客户行业" Text=""  Readonly="true">
                                            </ext:TextBox>
                                        </Items>
                                    </ext:FormRow>
                                    <ext:FormRow ID="FormRow3" runat="server">
                                        <Items>
                                            <ext:TextBox ID="CompanyName" runat="server" Label="客户公司名称" Text=""  Readonly="true">
                                            </ext:TextBox>
                                            <ext:TextBox ID="Legal" runat="server" Label="客户法人代表" Text=""  Readonly="true">
                                            </ext:TextBox>
                                        </Items>
                                    </ext:FormRow>
                                    <ext:FormRow ID="FormRow5" runat="server">
                                        <Items>
                                        <ext:TextBox ID="QQ" runat="server" Label="QQ号码" Text=""  Readonly="true">
                                            </ext:TextBox>
                                            <ext:TextBox ID="mail" runat="server" Label="邮箱" Text=""  Readonly="true">
                                            </ext:TextBox>
                                        </Items>
                                    </ext:FormRow>
                                    <ext:FormRow ID="FormRow6" runat="server">
                                        <Items>
                                            <ext:TextBox ID="ID" runat="server" Label="ID号码" Text=""  Readonly="true">
                                            </ext:TextBox>
                                            <ext:TextBox ID="Pwd" runat="server" Label="密码" Text=""  Readonly="true">
                                            </ext:TextBox>
                                        </Items>
                                    </ext:FormRow>
                                    <ext:FormRow ID="FormRow7" runat="server">
                                        <Items>
                                            <ext:TextBox ID="Website" runat="server" Label="网址" Text=""  Readonly="true">
                                            </ext:TextBox>
                                            <ext:TextBox ID="ClearTime" runat="server" Label="开通时间" Text=""  Readonly="true">
                                            </ext:TextBox>
                                        </Items>
                                    </ext:FormRow>
                                </Rows>
                            </ext:Form>
                        </Items>
                    </ext:Tab>
                    <ext:Tab ID="Tab2" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
                        Title="客户跟踪情况" Layout="Fit">
                        <Items>
                            <ext:Grid ID="Grid3" runat="server" EnableCheckBoxSelect="true" EnableRowNumber="true" ShowBorder="false"
                                ShowHeader="false" DataKeyNames="CustFollow" AllowPaging="true" Title="跟进情况列表"
                                OnRowCommand="Grid3_RowCommand">
                                <Columns>
                                    <ext:LinkButtonField Text="查看" CommandName="UpdateFlow" />
                                    <ext:BoundField HeaderText="跟进方式" Width="100px" DataField="FollowType" />
                                    <ext:BoundField HeaderText="其他跟进方式" Width="100px" DataField="OtherFollow" />
                                    <ext:BoundField HeaderText="跟进时间" Width="100px" DataField="FollowTime" />
                                    <ext:BoundField HeaderText="客户跟进情况" Width="250px" DataField="FollowSituation" />
                                </Columns>
                            </ext:Grid>
                        </Items>
                    </ext:Tab>
                    <ext:Tab ID="Tab3" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
                        Title="客户约见情况" Layout="Fit">
                        <Items>
                            <ext:Grid ID="Grid2" runat="server" EnableCheckBoxSelect="true" EnableRowNumber="true" ShowHeader="false" ShowBorder="false"
                                DataKeyNames="CustMettingID" AllowPaging="true" Title="约见时间列表" OnRowCommand="Grid2_RowCommand">
                                <Columns>
                                    <ext:LinkButtonField Text="查看" CommandName="UpdateMetting" />
                                    <ext:BoundField HeaderText="客户名称" Width="100px" DataField="CustName" />
                                    <ext:BoundField HeaderText="约见时间" Width="100px" DataField="MetingTime" />
                                    <ext:BoundField HeaderText="陪同人" Width="100px" DataField="Accompany" />
                                    <ext:BoundField HeaderText="备注" Width="100px" DataField="Remark" />
                                </Columns>
                            </ext:Grid>
                        </Items>
                    </ext:Tab>
                    <ext:Tab ID="Tab4" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                        Title="客户服务情况" Hidden="true">
                    </ext:Tab>
                    <ext:Tab ID="Tab5" runat="server" BodyPadding="0px" EnableBackgroundColor="true" AutoScroll="true"
                        Title="经理给予意见">
                        <Toolbars>
                            <ext:Toolbar runat="server">
                                <Items>
                                  <ext:Button ID="Button1" runat="server" Text="保存" OnClick="Button1_Click">
                                    </ext:Button>
                                </Items>
                            </ext:Toolbar>
                        </Toolbars>
                        <Items>
                            <ext:Form ID="Form3" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
                                Title="Form" ShowHeader="false" ShowBorder="false" >
                                <Rows>
                                    <ext:FormRow ID="FormRow8" runat="server">
                                        <Items>
                                            <ext:TextArea ID="TextArea1" runat="server" Label="经理意见" Text="" Height="130px">
                                            </ext:TextArea>
                                        </Items>
                                    </ext:FormRow>
                                    <ext:FormRow ID="FormRow9" runat="server" >
                                        <Items>
                                            <ext:Label ID="OpinionHist" runat="server" Label="历史意见" Text="Label" Width="700px" >
                                            </ext:Label>
                                        </Items>
                                    </ext:FormRow>
                                </Rows>
                            </ext:Form>
                        </Items>
                    </ext:Tab>
                </Tabs>
            </ext:TabStrip>    

        </Items>
      
    </ext:Panel>
    <ext:Window ID="Window1" runat="server" Height="350px" IsModal="true" Popup="false"
        Title="Window" Width="500px" EnableIFrame="true">
    </ext:Window>
    </form>
</body>
</html>
